Fix device paths for older kernels