configure script

made it possible to build extensions just with 1 parameter