Added include atomic to types.hpp