Removes compiler warning on Linux
Fixes conflicting basename() on Linux