fix use of self.builddir, get rid of RPackage specific class variables, initialize self.ext_dir
define self.builddir and self.installdir
prepare toolchain for extensions as well
prepare toolchain also for extensions