Return the factory

See https://github.com/CoolProp/CoolProp/issues/293

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>