[Bug 488307] build chmlib with --enable-examples