fix STATIC  configure