Builds projects using require.js's optimizer for multiple directories