Do not prepend root dir (it's not empty under mingw)
Avoid clash wit h_tolower macro
Use standart type
Avoid clash with standart macros
there's no mntent.h under win32
Fix mingw32 build
Merge pull request #162 from isage/win-fix

Fixes for windows (mingw32) compilation