Working complete build on darwin (x86)