Make default paths more compatible for unit testing.