fix ppx/omake bugs, kudos to @whitequark