Version update for 5.0.5 final

(cherry picked from commit 0f3aa60518432b6f3a1fd581132afdf33554e510)