Add PIC flag
Fix multiple candidate case