Corrent limit for strftime()

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
FreeBSD-related fixes

* Support compiling with lang/clang33 and lang/gcc49
* Fix some shell scripts
* Add notes for building on FreeBSD

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>