Modifications to Makefile for builds as a subdirectory, added dedicated dev build target.