Initial work porting the Linux platform layer to GDK