Fixed static build
Fixed Travis