fix linking issue against openal, setup and teardown openal