Exit with 1 if prerequisites are missing