configure --disable-static didn't work.