discareded the framework approach and switched back building a static lib