it turned out that fPIC autodetection doesn't work on travis machines. debugging