Fix alias mod to compile with old compilers