Removed special handling for source dir.
Removed p flag from build.sh until I can sort out a way to implement it cleanly.
Merge branch 'master' into extlib_stable