add -fPIC when compiling under linux