Try to allow building in headless environments