Compile as a module