fix(build): make build work with non-requirejs modules