add -fPIC to compile options

Add -fPIC to compile options.
With this commit, this works:

(gdb) expression printf("hi\n");