libcgi: fix compile -fPIC