compile fix for linux / wrong include
remove debug code