Lots of fixes for flagging java 7 files at build time and for configuring linux libraries for installer/keyring  #357