Build native libraries