Create source and build directory variables