Compile on Mac without warnings,overflow check

Compiles tools and main program on mac OS X without warnings

Signed-off-by: Lennard Wasserthal <Wasserthal@nefkom.net>