build APPS after lib