[FIX] Compile and link errors