Copy dependency source folders when building for Emscripten
Fix Gyp error when generating for Mac/iOS