[System] Fix building unit tests under the mobile profile