Tried to fix BallDetector compile issues. No luck.