Added a fix to preventing failing when Meteor packages contain define() calls.