using PIC for math libs