lib/standard: Fixes

Signed-off-by: Frédéric Vachon <fredvac@gmail.com>