Fixing headless build