Headless build before integrationtest