Fix build script (after api->module link deletion)