add missing construtor for completeness
apply CMake patch only when needed
Merge pull request #13 from isucan/master

add missing construtor for completeness