cmake: add BUILD_TYPE options to build Hypodermic as a static or shared lib