add fedora support via pkg-config and make sure that windows-specific cgo flags are only invoked on windows