Fixes for kernel version locking and SL5 support