Add few missing misc defines for compilation on 2.6.25