build in PIC mode