Merge build scripts for STV and Tizen into trunk branch