fixed setting of build destination and binary names according to debug or release build request