Fixed #1615 Modify build.xml for WebGL