Fixed build file to compile web build successfully on Mac.