Use static link by default for --disable-shared