Update after upstream changes.

After agouge/Java-Network-Analyzer#29, there were several changes to
make in order for the project to still build.
Merge pull request #57 from agouge/fix/upstream-changes

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