can build main for OS X