added '-O2' optimization option.