Replace naive relative path in version script with proper one