- integrate Pere fix for static compilation