Fixes for FreeBSD 10.0 + clang

Signed-off-by: Raymond Wagner <rwagner@mythtv.org>
(cherry picked from commit 366b73bc672d45be94b981a944f9f415b44ea13c)