Merge changes Idc9808f7,If7bc8e5b into lmp-dev

* changes:
  Fix the build after -Bsymbolic fix.
  Fix PIC relocations for non-Bsymbolic builds