Fix procfs issue for 3.10 and up kernels
Credits: Jan-Pascal van Best