resource-encapsulation: boost as lib header