Working copy of Leaflabs libmaple