Fixes for Qt 5 and added simple Makefile