compiling DynamicSql with -fPIC