Make RemoveSpace compatible with C++ 03