Fix for r.js optimization build problems.