coverity#54448 Uninitialized scalar field
coverity#54450 Uninitialized scalar field
coverity#54451 Uninitialized scalar field
coverity#54449 Uninitialized scalar field
Fix build with boost 1.56
Split visibility macros for different shared objects.