update patches and add new patch to fix build with tiff
update PLIST and fix SHARED_LIBS