Updated Makefile to support cygwin

Initial implementation of attributes and attribute queries.