Fix x264 compilation on FreeBSD