Improve octopus configure wrappers

  • I saw some libraries not getting picked up
  • and I am thinking of a convenient way to set -march option