fixed #37, shared library now built by default