Linux 3.16 compatibility

Hi,

I added a patch for linux 3.16 compatibility. Looks pretty simple and works for me, so feel free to review and merge to the repo.

Regards,
Alex