resolves 32 and 64 bit build issues