build only primary apps