Fixed path resolution error in mono