Dirty fix to get release to work again

-Release was broken because resources are no longer in current assembly
-Also reverted dllimport, so it works on Windows for now