Adding BUILD_DIR environment variable

Adding BUILD_DIR environment variable to tmpDir, necessary in package generation for Slackware and others distros who need maintain an specified build directory.