System-monitor demo build

Added the system monitor demo application to the autotools config and fixed the deprecated method calls in there too.