Attempt to fix build on cygwin or without pkg-config