add new WANT_PLAYERSTAIC build option
fix a cmake warning after the last patch
fix a copy+paste error
another fix after the player-static option patch
freq changing code