Added merge phase for static libraries