disabled static linking

#causes crashing after build.