Print warning if setting locale failed. Closes #71.