check_swap - fix comment

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
check_update - remove code that has no effect

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
build - avoid deprecated INCLUDES

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>