port isnan/isinf to c++ 11
remove cmake files