Compatibility with 2.7+

2.7 deprecates the use of $module in mod/*/version.php