support lack of pkg-config when linking with -lprofiler