splitted build scripts in debug/release modes