[PATCH 22/27] dlls/hal: enable compilation with long types