Fix 32 bit builds

and also add createAlias: