Fixed module order in build file that made the "ide" task fail in certain circumstances