Fix unused import warnings on 32bit systems