cpp: Fix cmake paths for windows