std: Fix build errors