removed disable-shared and gd compiling changes