Made the code relocatable (using the relocate function from gnulib).