Fix tests on FreeBSD

FreeBSD uses _SYS__STDINT_H_ as guard clause for sys/stdint.h, which is not currently checked against which leads to typedef conflicts.