Fix build with swscale disabled