Changed from static stlport library to dynamic version, static seems to cause memory leaks