Added check for Unix specific headers and harmonize with Win32 build.