added option to configure GCC optimization levels