Fix SDK wrong packaging of static library
Fix SDK build system... I start thinking no one really tested it