Made EnhRick work for 32-bit systems