Fixed building on command line Mac OS X