fixed a bug that was preventing ios static lib compilation