Set the DEBUG_CONFIGURATIONS global property

CMake must know that DebugFull and Profile are debug configurations in
order to link the right library when both optimized and debug are
available.
Check if __ACE_INLINE__ is required both in DEBUG and RELEASE mode