Fix proc_lib example code

Thanks to Marc Campbell for the heads up!