add phase for building fat library