fix compile
Enable PIC when building
also link against dl
Start writing a host binary