Turkish military needs swift overhaul, PM says