cleanly build when running the server

this is useful for when a repo is updated to make sure that the server runs cleanly with any new changes.
Merge pull request #47 from cglewis/master

cleanly build when running the server