Some fixes around the resource directories.