added 'defines' Param to configure the AMD modules