Some fixes.

Two things in this pull:
- Remove dub warning about missing "mainSourceFile"
- fix resource path for Windows