Use different directories for debug and release build.