Move compile settings to configuration