bzr: Changed bzr tests for windows compatibility

This PR patches the bzr package for compatibility on Windows, taking into account the different home location.
Seems like the switch statement can be simplified by just making bzr_dir os-dependent. It seems a bit too repetitive as it is.