Added static linking option for compilation
Merge branch 'reorganize' of github.com:XIA-Project/xia-core into reorganize