Add #870 patch, fixes compilation with newer kernel-headers, also fixes fc5 compilation