Add a new --enable-staticonly option to only build the static chain