Fix/upstream changes

After agouge/Java-Network-Analyzer#29, there were several changes to
make in order for the project to build correctly.