Remove linux native libraries and automate `configure`.