Fixed printf warning on 64-bit OS
Turned on -O3 for tests by default.

They were taking too long to run. You can always manually
switch it to -g for debugging something.