fixed static build errors
libs