Fixed issues with images in main.cpp and fixed build issue in Makefile