Compile fixes for Mac OS X10.9 clang 5.0.0

fixed compile errors on clang 5.0.0
fixed test_akaze_programs.py