Fixed headless build option