Clean up and update default makefile
Fix unix compiler errors in ionMath
Fix line endings