Fixed not passing TargetPlatform instance.
Fixed not resolving correct path when working directory does not match build path.