Hide private library symbols

Signed-off-by: Peter Pentchev <roam@ringlet.net>
cmake improve cross documentation

Signed-off-by: Andy Green <andy.green@linaro.org>