Fix enabling of DEBUG_MODE after installing via developer mode