Added compiler optimization level option.