Update build scripts

- Ramdisk dir git branch is automatically selected before build