risu: enable static builds

It is possible to build statically with some limitations on the use of
gethostbyname().

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>