fix exception from buildpath changes on windows, bug 401623
tests: fix running on windows