cmake: static build option
Merge pull request #70 from lclc/cmakeStatic

cmake: static build option