fix compile options