make it work for non mpdec kernels
Merge pull request #1 from maxwen/master

Support kernels without mpdecision