Added makefile support for region locks