fix -pic compilation for Bob