Multiple changes

- Fixed some problems with building OALplus into a library.
- Updated the spectra example to use OALplus compiled into library.