Define Windows stuff only on Windows
Use pkg-config for library detection, eases cross-compilation