Fixed more FreeBSD compiler errors