added debug targetand debug/release build modes