[boost] Fix remaining compilation details