Fixed bug with course compilation.