add -fPIC option so mpu9150 library can be link in a shared library