Make -fno-flat-cache use a dynamic, rather than static, flag
Remove a redundant wrapper function