Some useful bits for MCP mod compilation