Update build.cpp.js

Fixes compiling snow library under Xcode 6