Clean up build failure from #136

Small patch layered on top of @fpotter's work in #136. Cleans up build.sh and Travis compilation breakage.