Add the MSE include dir when enabled
Add missing function
Use the correct interface