create $startdir variable

To illiminate directory navigation problems whether compiling in testing or master.