lame: Build both static and shared version. Add more patches form LRN