Random build changes

Hey Scott,

These were changes I needed to make to make this code build on my Ubuntu system. I also made changes for the hardcoded paths ... but that is not what I checked in here. You might want to hold off on merging 30e7041 and 1352d47 until you are using a new base_system/BaseSystem.