Changed makefile and error in rest_api_sup.