add deps for static compile

I added the deps for static compile, 
It works well on Linux 64 , except jpeglib made ​​trouble.
It's not perfect
No I tried on Windows Or Mac