make GENERIC compile with modules enabled