Normalize path and namespace to make this work on any OS