Fix library extension guessing for MoarVM

Without this patch, is native('libfoo') would try and load libfoolib.so
instead of libfoo.so
Merge pull request #32 from retupmoca/master

Fix library extension guessing for MoarVM