Fix undefined class error
Remove apache license from MIT licensed code