[COMMIT] fix optimization handling in configure.ac