build shared libraries without autoconf