fixed build with --enable-player=amlplayer, thx brianf21