Fix missing comptopt on OSX