Linker path option and improved determine of entry point