Fix paths in cases of building separate targets for Windows OS