test gcc compile with PIC option