Adding 64 bit compiler flags, cleaning up some warnings.