libraries/libearth: Updated for version 0.3.1.

Signed-off-by: dslackw <d.zlatanidis@gmail.com>