Handle entry execution address correctly

Previously executable file types were not bing correctly flagged, and their entry point was not being set. This has now been fixed