[BUGFIX] Detection of image manipulation libs with open_basedir