Fixed bug in build process

Naming issue that came about from all the refactoring.