fixed missing class in core_compile when in test env