Fix Tools build for Windows cmake

This needs to be tested on Linux. If it breaks, re-add dependencies for Linux only