Fixed compile errors in Player