prepare extension for boost library