Fixed bug on mono platforms where path was not resolved correctly.