Rebuild before running the unit tests when publishing on Windows.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>