Improved os.sizeof to return values depending on target if bits are indicated or return from premake binary if not.