make ALC_OPTIMIZE_FLAG working