Fixed the header and library problems which were causing the sample to not build.