added compiler flag for new C++11 standard in Makefile
workaround fix to Level::action() to make sure dead characters are not involved in any action