Fix link errors with opcodes.cpp