Fix FFT test
Add general lock flag
Remove makefiles not relevant for build
Add configure options