[alpt] Adjust snippets to cleanly compile in -ansi mode