build for Mac OS 10.6~