wmapro codec sim build needs to link with libm