Fixed bug in webserver and added CuBox-i compilation