Different method of linking all libraries
Add O_NDELAY flag for LxSerial, connection hangs on OSX without it
Add getAcceleration and getLinearAcceleration and fix some wrong data handling