fix(build): do not build libraries when cross compiling

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>