fix static.pro issue on mac