fixed windows image loading. Also fixed parallel building