include necessary header on linux
remove unused setup code