Fix compiles to be position-independent