fix doxygen doc
drop std cmath compile workaround