Fixed compilation errors within Entity.hpp
Forgot to remove when merging