Hello,
I'm using Visual studio express 2017 (the free version), and it's working without any changes to the cmake files..
But you could try with turning on "ATL support" in you Visual Studio:
Go to visual studio installer -> "Visual Studio Communiity 2017", select modify , if you select "Desktop development with C++" you can check the box in summary on right of "Visual C++ ATL support" .
That is turned on in my setup, I don't remember if I had to download & install something or if it was there by default (but maybe not turned on by default).