Try using std.conv

Fix compatibility issues with LDC/GDC