Restore unpathed references to platform.hpp for cmake builds

Previous commit fixed distclean for msvc but broke it for cmake.  This restores includes suitable for cmake, msvc fixes to come.