Move most build settings to the project layer.