Create a way to use native dylib handles. Kill some race conditions.
Make Cg dep optional.