config: use --with-pic

Hopefully fixes Travis compile failure