add barebones darwin build support