Clean the DLL management preprocessing code. Correct a little bug on joystick controller