Update FFMT lib and tweak build