remove vs2013 performance warning of (int->bool)
make NOEXCEPT macro so that it works with vs2013