Use Implementation-Version attar if Application-Version is not found
Fix command build bug