define -buildmode and -linkshared flags (that do nothing much for now)
compile with fPIC when buildmode=shared
add SharedPkgObj to go/build.Package