Add library name directly, not path, for HAL libs.

- This will properly set up dependencies.
Rewrites SensorViewer. Adds button, works on Android.