Avoid C++11's isblank.