Fixes for FreeBSD 10.0 + clang

Signed-off-by: Raymond Wagner <rwagner@mythtv.org>