Changed cc depending on type of build