Fix absolute import issue in core.ppyx in PY3, refs #38

Without this change, the test fails in PY3 which breaks the refcount thing of sockets.