proper fix build due to divide u64/u32

Fix submitted by Jon Nettleton.
In some toolchains building might complain that _udivdi3 is not available. This fixes the issue

Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>