Fixed compilation issues with vanilla player source code.