Fixed a bug with compiling multiple source files at once