[Build] Fixed modules being undefined (closes #15)