It seems that the 'inline' modifier for MessageManager::getInstanceWithoutCreating() (MessageManager.cpp@line 73) causes the method to be stripped away and thus unaccessible by client code in Release buids (I get a linker error)
If I remove it, everything compiles successfully