Added files and build flags for Mac builds