fix build to work on ubuntu saucy

These are pretty minor changes to the Makefile that allow build on my system.