Clean build with upper and lower dependencies