Kill process before rebuild

If the process is not killed before the rebuild starts, it will fail on
Windows as the "bin" file is still running, thus open & locked.