change some options to compile release configuration