Update Makefile to fix some Linux compilation errors

Helps fix #4