Add buildPublic to buildscript