Fix TypeError when running poclbm