Fixed compilation of SP (sorry, I should have checked better) on Windows. Also removed unused cvar js_ffscale.