Make module play nice on debian 7