Build libpndman as static library when not found