Added headless build option