compiles with the -fPIC flag on linux