fix versioning for node-webkit when `target` is empty