Add --enable-shared to libyaml configuration

Solves https://github.com/opscode/omnibus-software/issues/320