linux and osx platform specific config fixed