Compile on all platforms

Fix build errors on all platforms