bzr: Changed bzr tests for windows compatibility

This PR patches the bzr package for compatibility on Windows, taking into account the different home location.
+1, also please use explicit build directives in the comments, as _unix or _posix is not consistently supported. See the "Build Constraints" document for the // +build ... syntax.