Fix paths in cases of building separate targets for Windows OS

This changes give the ability to write paths to targets while using Windows OS both with `Linux` and `Windows` slashes.

For example,

```bash
bem make PATH/TO/TARGET
```

and

```bash
bem make PATH\TO\TARGET
```

are now works fine.