Build the correct debug/release configuration