cleanup comments
convert to use resetLocalAttrs instead of resetAllAttrs which "is dangerous" and not supported any more for Scala 2.11
enable cross-building