remove custom installed less and thrift modes