added libpng to ios compilation