Reverted build system to static linking, figure out dynamic later