core: add the missing include in .cpp files