Fixes using as a dependency in no-std environments. Signed-off-by: Tim Crawford <tcrawford@system76.com>