add compiler settings from OMPL + fix some warnings. a bunch still remain