misc: Add platform specific header on FreeBSD