Make default build target 'build' and add 'dist' target

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
Add check-local build target

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
Fix warning in testUmaskTmpfile

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
Make base import in test more specific

Also have it take precedence over default PATH

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>