fixes a gcc 4.7 incompat on palma
fix missing includes in problem classes