Add base script for building releases for linux/mac/win