Attempt to fix build errors. Also adds travis badge (because why not!?)