Update require.js path and process vendor scripts for build