replace prep_x11.sh with makefile