move curl requirement into composer state.