Fixing sinon build issue