Build amd modules in one file