adds support for building from public

Signed-off-by: Paul Butler <paul.butler@windriver.com>