Added build scripts for mailcore2