fix bug of raspberry-pi build, static off