changed makefile to compile with cudnn