Suppress compilation error by undefining basename macro