Migrated some usages of GNUCLibrary to the jnr PosixAPI, fixed 'mvn -Plight-test install' on ubuntu with OpenJDK.
Remove unused import.
Merge pull request #967 from akiellor/fix-local-build-issues

Fix `mvn -Plight-test install` on Ubuntu 13.04 with OpenJDK