Version fix

Add patches to resolve issue #27