changed lib files to include platform