fix compile errors / warnings with Intel compiler
typos / cleanup
link miami.so only if explicitly requested
delete obsolete var files when miami kit is built