Added normpath implementation