update configure.rb to separate different composer calls.