Linux 3.10 compatibility.

create_proc_entry() is no longer available in 3.10
also fixed warning issue on x86_64
Merge pull request #35 from nowrep/master

Linux 3.10 compatibility