/bin/sh is sufficient here
#include <clocale> for std::locale
Merge pull request #136 from AMDmi3/freebsd

FreeBSD fixes