make castor bits kepler-compatible
just generate for now
fix broken smslib dependencies