Add support for directory listing under OSX
Fix dir-linux to actually keep the offset.
Add directory listing under Linux.
Make system/arch dependent rules generic.
Add getdents function to linux.
Merge https://github.com/oridb/mc
Merge pull request #1 from akoshibe/master