Exit with the correct code from cake build