cmake: fix error message on non-Windows platform