Add a library function to add an alternate to the alternates file