Set the search directories so partials can be found

First search dir is the dir containing the specified template. Second search dir is the package dir.