Fixed bug in compiling Effect.