Fix Solaris not being able to find modules without pkg-config.
Merge pull request #783 from SaberUK/insp20+solaris-hates-posix

Fix Solaris not being able to find modules without pkg-config.