Fixed some issues that were preventing the requirejs build step from completing.