fixed problem building program in extensions directory