Fixes across all modules for supporting squeeze/wheezy.