fixed compile options