Fix path prefix for OSX
Merge remote-tracking branch 'chiiph/bug/path_prefix' into develop