Fix/build issues freebsd

All targets of the develop branch now build on FreeBSD10/Clang3.3/libc++ and FreeBSD10/GCC49.