Be sure to compile with -fPIC