Makefile: add -ltinfo and -ldl to libs

Needed on Ubuntu

Signed-off-by: Jiao Xiang <jxwr.cn@gmail.com>
java/interp: getstatic and putstatic

Signed-off-by: Jiao Xiang <jxwr.cn@gmail.com>