Cleanup makefile
Fix problem with using ulong