added dynamic/shared library building to allow linking this library with go windows