Changed static linking to not include C libs.