openal: fixes compilation on shared target.

The patch should only remove the "common" link, not both. Winmm is linked with this EXTRA_LIBS. Many undefined references fixed.

Here is the log: http://pastebin.com/iA6Mku2g