DirToRBXM fix

Should work on any OS now