Fix for https://github.com/jrburke/requirejs/issues/700.