Shortened OS check and added absolute path for class inclusion