Here: https://github.com/eddyem/mytakepic/tree/master/extern you can find FLI kernel module sources that works with kernels up to 3.4.18.