set default gd option to "shared,$prefix"