added cflags to build
working md5 extension, not abstracted enough yet though