Fix dmenu check