Replace asterisk with 'x' in version dependencies