Allylation of pentosylamines