linux compat
linux compat 2
Merge pull request #1 from hashashin/linux-compat

Linux compat fix