Modify makefile to only build crypto files if encryption is enabled

Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>