minor fix

- linker script update
- fix BOOL type