Made PGO work with --clib.