Fixed bug with define commonjs with no require decls