Works with or without pkg-config.