build: Let arch-specific scripts manage platform library

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>