Initialise path variables safely

-Werror didn't find these on OSX for some reason - however, the build failed on Linux.