Make composer php52 backward compatible