Build libjni_mosaic