* reintroducing: freebsd compatibility
 * also: boost 1.52 (and possibly 1.53) compatibility
 * fixed trim function