Refactored compile to copy the .so into a path inside the slug.