Add support for building files into modules