build script: try optimized (-O4 -g) building