Sorted Out Compile Issues

Fixed Compilation issues everything should work fine.