attempt to compile error-free on raspian 7.2.