How was it able to run the code directly for you? For me it said it didn't have access to external libraries.
Note, you can also upload statically compiled libs/binaries, even tarballs into its execution environment. I'm not sure how sound that is from a security perspective, but people have been doing it lately (along with a lot of poking around).