Try to get CUSTOM_LIB working.

Very simple version, but hopefully enough to make panda happy.