optimization on compile flags and options.