Fix websocket permissions and update Makefile.