Create needed build dirs.
fix crash on client creation
Merge branch 'rivera' into picasso