prepare static library build

Signed-off-by: Janos Laube <janos.dev@gmail.com>