Minor fix in the build system

- Fixed linking problem in the spectra advanced example.