(update) Add freebsd compilation (gcc)

- Adds makefiles supporting FreeBSD compilation for 10.0 RELEASE.
 * FreeBSD also seems to suffer from the non-defined std::to_string problem for gcc
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52015
  http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20140609/107686.html
  Adds a build time patch to define a temporary solution. This should be removed once it is resolved.