fix compile options.