Added Mac OS X build support