Build on Mac OS X (tested on 10.9)