Various improvements to build process
Merge pull request #18 from quantimodo/master

Fixed various bugs in the build process