Added a check for checking whether the linker support -map