build native libraries