Fixed synthdefs to support pattern matching and library compilation