rebased Shared to new static build options
Working Static build, but there are link problems with io, thus lfm is not working...it crashes