Adjust defines

Signed-off-by: Kohei Takahashi <flast@flast.jp>
Fix section ids

Signed-off-by: Kohei Takahashi <flast@flast.jp>
Use algorithms.new section instead of algorithm_extension

Signed-off-by: Kohei Takahashi <flast@flast.jp>