Add missing header for function used inline in class
Don't use prof. guided opt. and auto. par. in Clang

Clang compilers doesn't support the -pg (profile-guided optimization)
or -fopenmp (automatic parallelization) switches, so those should only
be included conditionally.
Link Boost dynamically if we are building shared

The static Boost libraries are not built with -fPIC, so it cannot be
linked into a shared object anyway. This is also how the Linux distros
want it.
Generate main function if linking dynamically

Unit tests must have their main function generated by the Boost::Unit
headers if we are linking dynamically because it is not in the shared
objects.
Compare size with unsigned int literal

Surprisingly, some compilers (notably GCC 4.6.3) will issue a warning
when comparing a literal which is clearly positive to an unsigned type,
when looking for a suitable instantiation in Boost. This is fixed by
making the literal unsigned too, so there's no doubt.
Merge pull request #33 from rolk/033_bld

Support more build configurations