Minor fixes for installing jar files