Update package postinall to build leaflet