Updating patch version to 0.5.1. [skip ci]