added option to make a portable build.