Modified configure ac to point to right cuda library directory.