gcc4.7 marshalling fix ?