Fix Mac build : Complex classes needs out of line destructors and constructors.