Moved definition of DEFINE-COMPILER-MACRO and updated it according to new environment protocol.