Make tests slightly more freebsd friendly.