Fixed issue #7, changed runtime library type for release