Updated makefile to switch between debug and release mode