Added -O2 optimizations to gear Makefile build and removed release option from integration test python script.