modified compile scripts to meet new install (Ubuntu 14.04)