Support for build on Mac and Linux platforms