FreeBSD gcc compilation fails because of missing limits.h

This solution is automake based to fix the issue described in #25
My initial thought is if we use the solution of #25 we will have issues
building on windows.

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
Merge remote-tracking branch 'origin/freebsd_limits'

resolves #25

* origin/freebsd_limits:
  FreeBSD gcc compilation fails because of missing limits.h