[BuildBoost] add core to math dependencies