omit declaration of basename wrongly interpreted as prototype in C++