add nandsim patch to make the nandsim module useful