Merge pull request #490 from nomis52/master

Attempt a fix for cross compiling with --with-ola-protoc.
Merge pull request #491 from nomis52/master

Fix an unused variable warning if the system doesn't have load average.
Fix a bug in the RPCServer shutdown.