updated to support building on 2013 versions of Raspbian