add Debug/Release support