fixed issue with not defined MAGMA library macros, MAGMA is currently disabled by default